package org.esprit.ocm.model;

import java.io.Serializable;

import net.sf.gilead.pojo.java5.LightEntity;

public class AbstractServer extends LightEntity implements Serializable {

	/** 
	 *  
	 */
	private static final long	serialVersionUID	= -1901486965664843187L;

	private int					idServer;
	private String				typeServer;
	private String				nameServer; 
	private String				ipServer;
	private int					port;
	// whether to use https or not
	private boolean				useHTTPS;
	// Resource prefix, for EC2 it is '/', for Eucalyptus you have to set it to
	// '/services/Eucalyptus'
	private String				resourcePrefix;
	// The signature version used to sign requests. Should be '1' for
	// Eucalyptus.
	private int					signatureVersion;

	public AbstractServer() {
	}

	public int getIdServer() {
		return idServer;
	}

	public void setIdServer(int idServer) {
		this.idServer = idServer;
	}

	public String getNameServer() {
		return nameServer;
	}

	public void setNameServer(String nameServer) {
		this.nameServer = nameServer;
	}

	public String getIpServer() {
		return ipServer;
	}

	public void setIpServer(String ipServer) {
		this.ipServer = ipServer;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}

	public boolean isUseHTTPS() {
		return useHTTPS;
	}

	public void setUseHTTPS(boolean useHTTPS) {
		this.useHTTPS = useHTTPS;
	}

	public String getResourcePrefix() {
		return resourcePrefix;
	}

	public void setResourcePrefix(String resourcePrefix) {
		this.resourcePrefix = resourcePrefix;
	}

	public int getSignatureVersion() {
		return signatureVersion;
	}

	public void setSignatureVersion(int signatureVersion) {
		this.signatureVersion = signatureVersion;
	}

	public String getTypeServer() {
		return typeServer;
	}

	public void setTypeServer(String typeServer) {
		this.typeServer = typeServer;
	}

}
